<!DOCTYPE html>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<%@ include file="../core/core.jsp"%>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">

    <title>订单查询</title>
    <meta name="keywords" content="叮当猫">
    <meta name="description" content="叮当猫">
    <style>
        table.dataTable thead .sorting:after{
            content:'';
        }
    </style>
</head>

<body>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>基本 <small>查找，结果</small></h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="">
                            <i class="fa fa-wrench"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">

                    <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper form-inline" role="grid"><div class="row" style="margin-bottom: 20px;">
                        <div class="col-sm-12">
                            <div id="DataTables_Table_0_filter" class="dataTables_filter">
                                <%--<div class="form-group"><label>状态</label>--%>
                                    <%--<select name="state" id="state" style="width:200px;height: 34px;">--%>
                                        <%--<option value="">全部</option>--%>
                                        <%--<option value="1">有效</option>--%>
                                        <%--<option value="0">无效</option>--%>
                                    <%--</select>--%>
                                <%--</div>--%>
                                <div class="form-group m-l"><label>用户账号：</label>
                                    <input type="text" class="form-control input-sm" id="name">
                                </div>
                                <div class="form-group m-l"><label>用户姓名：</label>
                                    <input type="text" class="form-control input-sm" id="userName">
                                </div>
                                <div class="form-group m-l"><label>店铺或仓库</label>
                                    <select name="faMenu" id="shopId" style="width:200px;height: 34px;">
                                        <option value="">全部</option>
                                    </select>
                                </div>

                                <div class="form-group m-l"><label>购买订单编号：</label>
                                    <input type="text" class="form-control input-sm" id="purchaseOrderCode">
                                </div>
                                <div class="form-group m-l"><label>订单编号：</label>
                                    <input type="text" class="form-control input-sm" id="code">
                                </div>
                                <div class="form-group m-l"><label>物流单号：</label>
                                    <input type="text" class="form-control input-sm" id="wayBillNum">
                                </div>
                                <div class="form-group m-l"><label>支付方式：</label>
                                    <select name="type" id="payTypeValue" style="width:200px;height: 34px;">
                                        <option value="">请选择</option>
                                        <option value="1">网上支付</option>
                                        <option value="2">到店支付</option>
                                    </select>
                                </div>
                                <div class="form-group m-l"><label>配送方式</label>
                                    <select name="faMenu" id="deliveryTypeValue" style="width:200px;height: 34px;">
                                        <option value="">请选择</option>
                                        <option value="1">到店自取</option>
                                        <option value="2">送货上门</option>
                                    </select>
                                </div>
                                <div class="form-group m-t" id="erjiLEvelBox"><label>订单状态</label>
                                    <select name="faMenu" id="orderStateValue" style="width:200px;height: 34px;">
                                        <option value="">请选择</option>
                                        <option value="1">创建订单</option>
                                        <option value="2">已取消</option>
                                        <option value="3">已支付</option>
                                        <option value="4">待发货</option>
                                        <option value="5">已发货</option>
                                        <option value="6">已完成</option>
                                        <option value="7">已退款</option>
                                        <option value="10">确认收货</option>
                                        <option value="11">驳回订单</option>
                                        <option value="12">退款申请</option>
                                        <option value="13">放弃购买</option>
                                    </select>
                                </div>
                                <button class="btn btn-primary m-t m-l" id="refer">查询</button>
                            </div>
                        </div>
                    </div>
                        <div class="modal inmodal fade" id="myModal5" tabindex="-1" role="dialog"  aria-hidden="true">
                            <div class="modal-dialog modal-lg">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                        <h4 class="modal-title">添加分类</h4>
                                    </div>
                                    <div class="modal-body">
                                        <div class="form-group"><label>分类名称</label> <input type="text" id="addName" class="form-control"></div>
                                        <div class="form-group"><label>分类简介</label> <input type="text" id="summary" class="form-control"></div>
                                        <div class="form-group"><label>分类级别</label>
                                            <select name="addType" id="addType" style="width:200px;height: 34px;">
                                                <option value="">请选择</option>
                                                <option value="1">一级分类</option>
                                                <option value="2">二级分类</option>
                                                <option value="3">三级分类</option>
                                            </select>
                                        </div>
                                        <div class="form-group" id="addcategoryTypeBox"><label>分类类型</label>
                                            <select name="addfaMenu" id="addcategoryType" style="width:200px;height: 34px;">
                                                <option value="">请选择</option>
                                                <option value="1">普通类型</option>
                                                <option value="2">热门品牌</option>
                                            </select>
                                        </div>
                                        <div class="form-group" id="addfaBox"><label>一级分类id</label>
                                            <select name="addfaMenu" id="addfaMenu" style="width:200px;height: 34px;">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                        <div class="form-group" id="addfaBox2" style="display: none;"><label>二级分类id</label>
                                            <select name="addfaMenu" id="addfaMenu2" style="width:200px;height: 34px;">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                        <div class="form-group" id="cateGoryImgBox"><label>分类图片</label>
                                            <img id="mainImg" src="../static/img/uploadImg.png" alt="img" style="width: 66px;height: 66px;">
                                            <button id="update" type="button" class="btn btn-primary"  data-toggle="modal" data-target="#avatar-modal" style="margin-bottom: 0px;">
                                                上传分类图片
                                            </button>
                                            <div class="user_pic" style="margin: 10px;">
                                                <img src=""/>
                                            </div>
                                            <span style="color: #252525;margin-top: 10px;">注：热门品牌尺寸为186*120，普通类型尺寸为144*144</span>
                                        </div>
                                        <div class="form-group" id="linkUrlBox">
                                            <label>跳转路径</label> <input type="text" id="linkUrl" class="form-control">
                                        </div>
                                        <div class="form-group"><label>优先级</label> <input type="text" id="number" class="form-control" onchange="this.value=this.value.replace(/\D/g,'')" onkeyup="this.value=this.value.replace(/\D/g,'')"></div>
                                    </div>

                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-white" data-dismiss="modal" id="close">关闭</button>
                                        <button type="button" class="btn btn-primary" id="addSave">保存</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="modal inmodal fade" id="modal4" tabindex="-1" role="dialog"  aria-hidden="true">
                            <div class="modal-dialog modal-lg">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                        <h4 class="modal-title">编辑分类</h4>
                                    </div>
                                    <div class="modal-body">
                                        <div class="form-group"><label>分类名称</label> <input type="text" id="editName" class="form-control"></div>
                                        <div class="form-group"><label>分类简介</label> <input type="text" id="editsummary" class="form-control"></div>
                                        <div class="form-group" id="editcategoryTypeBox"><label>分类类型</label>
                                            <select name="addfaMenu" id="editcategoryType" style="width:200px;height: 34px;">
                                                <option value="">请选择</option>
                                                <option value="1">普通类型</option>
                                                <option value="2">热门品牌</option>
                                            </select>
                                        </div>
                                        <div class="form-group"><label>分类图片</label>
                                            <img id="mainImg2" src="../static/img/uploadImg.png" alt="img" style="width: 66px;height: 66px;">
                                            <button id="update2" type="button" class="btn btn-primary"  data-toggle="modal" data-target="#avatar-modal2" style="margin-bottom: 0px;">
                                                上传分类图片
                                            </button>
                                            <div class="user_pic" style="margin: 10px;">
                                                <img src=""/>
                                            </div>
                                            <span style="color: #252525;margin-top: 10px;">注：热门品牌尺寸为186*120，普通类型尺寸为144*144</span>
                                        </div>
                                        <div class="form-group" id="editlinkUrlBox">
                                            <label>跳转路径</label> <input type="text" id="editlinkUrl" class="form-control">
                                        </div>
                                        <div class="form-group">
                                            <label>优先级</label> <input type="text" id="editNumber" class="form-control" onchange="this.value=this.value.replace(/\D/g,'')" onkeyup="this.value=this.value.replace(/\D/g,'')">
                                        </div>
                                        <div class="form-group"><label>状态</label>
                                            <select name="state" id="editState" style="width:200px;height: 34px;">
                                                <option value="">全部</option>
                                                <option value="true">有效</option>
                                                <option value="false">无效</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                                        <button type="button" class="btn btn-primary" id="editSave">保存</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <table class="table table-striped table-bordered table-hover dataTables-example dataTable" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
                            <thead>
                            <tr role="row">
                                <th class="sorting_asc" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 60px;" aria-sort="ascending">#</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">购买订单编号</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">订单编号</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">订单状态</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">用户姓名</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">用户电话</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">仓库或店铺</th>

                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">支付方式</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">配送方式</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">物流单号</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">支付金额</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">创建时间</th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">支付时间</th>
                            </tr>
                            </thead>
                            <tbody id="withdraw-record">
                            <!--<tr class="gradeA odd">-->
                            <!--<td class="sorting_1">14</td>-->
                            <!--<td class=" ">100</td>-->
                            <!--<td class=" ">2</td>-->
                            <!--<td class="center ">ky</td>-->
                            <!--<td class="center ">待审核</td>-->
                            <!--<td class="sorting_1">15093112512</td>-->
                            <!--<td class=" ">1</td>-->
                            <!--<td class=" ">2017-02-01 09:09</td>-->
                            <!--<td class="center ">z-097967897878978</td>-->
                            <!--<td class="center ">2017-02-02 10:10</td>-->
                            <!--</tr>-->
                            </tbody>
                        </table><div class="row"><div class="col-sm-6"><div class="dataTables_info" id="DataTables_Table_0_info" role="alert" aria-live="polite" aria-relevant="all">共 <span id="record"></span> 项</div></div><div class="col-sm-6"><div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate"><ul class="pagination"><li class="paginate_button previous disabled" aria-controls="DataTables_Table_0" tabindex="0" id="DataTables_Table_0_previous"><a href="#">上一页</a></li><li class="paginate_button active" aria-controls="DataTables_Table_0" tabindex="0"><a href="#">1</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">2</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">3</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">4</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">5</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">6</a></li><li class="paginate_button next" aria-controls="DataTables_Table_0" tabindex="0" id="DataTables_Table_0_next"><a href="#">下一页</a></li></ul></div></div></div></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../static/js/shopOrder/list.js" charset="utf-8"></script>

</body>

</html>
